package com.wyz.easyexcel.entity;

import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import lombok.*;

import java.util.Date;

/**
 * 基础数据类
 *
 * @author wyz
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Student {
    /**
     *  名称
     */
    @ExcelProperty("student.name")
    private String name;

    /**
     *  生日
     */
    @ExcelProperty("student.birthday")
    private Date birthday;

    /**
     *  年龄
     */
    @ExcelProperty("student.age")
    private Integer age;

    /**
     *  性别
     */
    @ExcelProperty("student.sex")
    private String sex;
}
